package com.chushouya.product.dto.admin.clothesproduct;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("旧衣商品更新")
public class ClothesProductUpdateDTO {

    @ApiModelProperty(value = "旧衣商品ID", required = true)
    @NotNull(message = "旧衣商品ID不能为空")
    private Long clothesProductId;

    @ApiModelProperty("省份编码")
    private Long provinceCode;

    @ApiModelProperty("省份名称")
    private String province;

    @ApiModelProperty(value = "商品名称", required = true)
    @NotBlank(message = "商品名称不能为空")
    private String productName;

    @ApiModelProperty("商品图片")
    private String productImage;

    @ApiModelProperty("价格")
    private BigDecimal productPrice;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("操作人")
    private String handleUser;
}
